package leo.manager
{
	public class Singleton
	{
		private static var instance :Singleton;
		public function Singleton(prv :privateClass)
		{
		}
		
		public static function getInstance():Singleton
		{
			if(instance == null)
			{
				instance =  new Singleton(new privateClass());
			}
			return instance;
		}
	}
}

class privateClass{}